package com.richest.api.utils;

import java.io.InputStream;

import com.github.wxpay.sdk.WXPayConfig;

/**
 * 
 * @author zhaohongchao 2019年4月4日 上午10:28:12
 * @email 70375739@qq.com
 */
public class WXConfigUtil implements WXPayConfig {

	@Override
	public String getAppID() {
		return WXAppInfo.getAppid();
	}

	@Override
	public String getMchID() {
		return WXAppInfo.getServiceMchId();
	}

	@Override
	public String getKey() {
		return WXAppInfo.getServiceApiKey();
	}

	@Override
	public InputStream getCertStream() {
		return null;
	}

	@Override
	public int getHttpConnectTimeoutMs() {
		return 8000;
	}

	@Override
	public int getHttpReadTimeoutMs() {
		return 10000;
	}

}
